<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>图库添加</title>
	</head>

	<body>
		<s:form action="save_dept" theme="simple" namespace="/system"
			enctype="multipart/form-data">
			<table cellspacing="0" cellpadding="0" width="450" align="center"
				style="table-layout: fixed; border-top: 0; margin-top: 50px">
				<tr>
					<th colspan="2">
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="15" height="30">
									<img src="system/images/tab/tab_03.gif" width="15" height="30" />
								</td>
								<td background="system/images/tab/tab_05.gif">
									<img src="system/images/tab/311.gif" height="16" />
									<span class="STYLE4">部门新增</span>
								</td>
								<td width="14">
									<img src="system/images/tab/tab_07.gif" width="14" height="30" />
								</td>
							</tr>
						</table>
					</th>
				</tr>
				<tr>
					<td colspan="2">
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="9" background="system/images/tab/tab_12.gif">
									&nbsp;
								</td>
								<td>
									<table width="90%" border="0" align="center" cellpadding="0">
										<tbody>
											<tr height="30px">
												<td>
													部门名称
												</td>
												<td>
													<s:textfield name="dept.deptName" size="20" />
												</td>
											</tr>
											<tr height="30px">
												<td>
													上级部门
												</td>
												<td>
													<s:select list="deptList" listKey="id" listValue="deptName"
														name="dept.upDept" headerKey="0" headerValue=""></s:select>
												</td>
											</tr>
											<tr height="30px">
												<td>
													部门描述
												</td>
												<td>
													<s:textarea name="dept.content" cols="25" rows="3" />
												</td>
											</tr>

										</tbody>
										<tfoot>
											<tr align="center" height="40px">
												<th colspan="2" align="left">
													&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
													<s:submit value="添加"></s:submit>
													&nbsp;&nbsp;&nbsp;&nbsp;
													<s:reset value="取消"></s:reset>
												</th>
											</tr>
										</tfoot>
									</table>
								</td>
								<td width="9" background="system/images/tab/tab_16.gif">
									&nbsp;
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td colspan="2">
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="15" height="29">
									<img src="system/images/tab/tab_20.gif" width="15" height="29" />
								</td>
								<td background="system/images/tab/tab_21.gif">
									&nbsp;
								</td>
								<td width="14">
									<img src="system/images/tab/tab_22.gif" width="14" height="29" />
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</s:form>
	</body>
</html>
